* {
    margin: 0;
    padding: 0;
}

.menu-box {
    position: fixed;
    bottom: 430px;
    right: 5px;
    cursor: grab;
    display: inline-block;
    z-index: 9999;
}

.menu-button {
    width: 30px;
    height: 30px;
    background-color: #262525e8;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(13, 13, 14, 0.3);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s ease-in;
}

.menu-button:hover {
    background-color: #0f0f0fe8;
    box-shadow: 0 0 0 8px rgba(22, 22, 22, 0.3);
}

.line-box {
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease-out;
}

.line {
    background-color: #fff;
    width: 100%;
    height: 2px;
    border-radius: 2px;
}

.menu-list {
    width: 130px;
    box-shadow: 0 2px 2px 0 rgba(36, 35, 35, 0.911), 0 1px 5px 0 rgb(32, 32, 32);
    background-color: #1f1f1fe9;
    border: 2px solid #343437a2;
    border-radius: 8px;
    list-style: none;
    padding: 6px;
    position: absolute;
    /* top: -200px; */
    left: -118px;
    opacity: 0;
    transform: scale(0);
    transform-origin: bottom right;
    transition: 0.3s ease;
    z-index: -9;
}

.menu-list li {
    padding: 10px;
    color: rgb(252, 246, 246);
    cursor: pointer;
    position: relative;
}

.menu-list li:hover {
    background-color: #127de7de;
    transition: background-color 0.3s ease;
}

.active .line-box {
    transform: rotate(-45deg);
}

.active .line-box .line:first-child {
    transform: rotate(-90deg) translateX(1px);
}

.active .line-box .line:last-child {
    transform: rotate(-90deg) translateX(-1px);
}

.active .menu-list {
    opacity: 1;
    transform: scale(1);
}
.menu-list  span{
    color: white;
}